RegSetInt

 

Record integer values in the registry.

 

void @RegSetInt(int mainkey, string subkey, string name, int value);

 

Parameters

int mainkey : Registry Main Key (0=ROOT, 1=CURRENT_USER, 2=LOCAL_MACHINE, 3=USERS)

string subkey : Registry key name

string name : Item Name

int value : Key Value

 

Return Value

None

 

Example

@RegSetString(1, "Software\\AOB_Master\\Config", "TestString", "Hello");
@RegSetInt(1, "Software\\AOB_Master\\Config", "TestDWORD", 99);

 

Description :  In the SoftwareAOB_MasterConfig key of CURRENT_USER, record the string value of the TestDWORD entry as 99.

 

Version Information

Supported Version: 10.2.9 or higher

 

Related Helps

@RegGetInt()

@RegGetString()

@RegSetInt()

@RegSetString()